package pc29;

import java.util.Scanner;
public class J12Circle {
	public static void main(String[] args) {

		Circle c1 = new Circle();
		c1.r=1;
		
		System.out.println(c1.getArea());
		System.out.println(c1.getPerimeter());
	}
}
class Circle{
	double r;
	double Area;
	double Perimeter;
	
	double getArea(){
		Area=r*r*3.14;
		return Area;
	}
	double getPerimeter(){
		Perimeter = 2*3.14*r;
		return Perimeter;
	}
}
